package content

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/content/v1"
)

func (c *ControllerV1) ArticleTagDestroy(ctx context.Context, req *v1.ArticleTagDestroyReq) (res *v1.ArticleTagDestroyRes, err error) {
	res = &v1.ArticleTagDestroyRes{}
	err = service.ArticleTag().Destroy(ctx, req.Ids)
	return
}
